package com.springboot.study.tests.designpattern.adapter2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: guodong
 * @Date: 2021/4/27 19:30
 * @Version: 1.0
 * @Description:
 */
@RestController
@RequestMapping("")
public class TestController {

    @Autowired
    MoneyOrderAdapter moneyOrderAdapter;


    @GetMapping("create")
    public void create(){
        moneyOrderAdapter.create("RSZ i love you");
    }




}
